package cn.zcf.system.mapper;

import cn.zcf.system.domain.Permission;
import cn.zcf.system.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper{
    List<Permission> loadAll();
    Permission loadById(Long id);

    List<Permission> queryData(PermissionQuery query);
    Integer queryCount(PermissionQuery query);

    Permission loadBySn(String permissionSn);

    void save(Permission permission);

    void update(Permission permissionTmp);
}
